import React, { Component } from 'react'
import { Taro, getCurrentInstance } from '@tarojs/taro'
import { View, Text } from '@tarojs/components'
// import './index.less'

export default class Query extends Component {

    componentWillMount() { }
    componentWillUnmount() { }

    componentDidShow() { }

    componentDidHide() { }
    onLoad(options) {
        console.log(options);

    }

    render() {
        const {type} = this.props
        return (
            <View className='index' id='#list-card'>
                <Text >测试子组件内容--传值{type}</Text>
            </View>
        )
    }
}
